package cn.stylefeng.guns.modular.tool.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 批量移库明细
 * </p>
 * @author zhucx
 * @since 2023-04-08
 */
@TableName("tool_btn_shift")
@Data
public class ToolBtnShift implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 仓库id
     */
    @TableField("warehouse_id")
    private Long warehouseId;

    /**
     * 仓库
     */
    @TableField("warehouse_name")
    private String warehouseName;

    /**
     * 源库位id
     */
    @TableField("yposition_id")
    private Long ypositionId;

    /**
     * 源库位编号
     */
    @TableField("yposition_number")
    private String ypositionNumber;

    /**
     * 目的库位id
     */
    @TableField("mposition_id")
    private Long mpositionId;

    /**
     * 目的库位编号
     */
    @TableField("mposition_number")
    private String mpositionNumber;

    /**
     * 商品id
     */
    @TableField("goods_id")
    private Long goodsId;

    /**
     * 商品名称
     */
    @TableField("goods_name")
    private String goodsName;

    /**
     * 商品编号
     */
    @TableField("goods_number")
    private String goodsNumber;

    /**
     * 数量
     */
    @TableField("num")
    private String num;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 操作人员
     */
    @TableField("create_name")
    private String createName;

    /**
     * 操作用户
     */
    @TableField("create_account")
    private String createAccount;

    @Override
    public String toString() {
        return "ToolBtnShift{" +
        "id=" + id +
        ", warehouseId=" + warehouseId +
        ", warehouseName=" + warehouseName +
        ", ypositionId=" + ypositionId +
        ", ypositionNumber=" + ypositionNumber +
        ", mpositionId=" + mpositionId +
        ", mpositionNumber=" + mpositionNumber +
        ", goodsId=" + goodsId +
        ", goodsName=" + goodsName +
        ", goodsNumber=" + goodsNumber +
        ", num=" + num +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        ", createTime=" + createTime +
        ", createName=" + createName +
        ", createAccount=" + createAccount +
        "}";
    }
}
